<template>
  <div>
    <el-row class="tac">
      <el-col :span="20">
        <el-menu
            router
            default-active="/student"
            class="el-menu-vertical-demo"
            @open="handleOpen"
            @close="handleClose"
        >
          <el-sub-menu index="1">
            <template #title>
              <el-icon><location /></el-icon>
              <span>学生管理</span>
            </template>
            <el-menu-item index="/student">
              <el-icon><User /></el-icon>
              学生列表
            </el-menu-item>
          </el-sub-menu>
          <el-sub-menu index="2">
            <template #title>
              <el-icon><setting  /></el-icon>
              <span>系统管理</span>
            </template>
            <el-menu-item index="/system">
              <el-icon><Edit  /></el-icon>
              test
            </el-menu-item>
          </el-sub-menu>
        </el-menu>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import {Location,Setting,User,Edit} from '@element-plus/icons-vue'
export default {
  name: "AsideView",
  components:{
    Location,
    Setting,
    User,
    Edit
  }
}
</script>

<style scoped lang="scss">

</style>